package com.bayihouse.model.request.room;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import jnr.ffi.annotations.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class RoomAddRequest implements Serializable {
    private static final long serialVersionUID = -3846656527055560042L;
    /**
     * 房子的ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 房子的类型,是否用于租房
     */
    private Integer category;

    /**
     * 几楼
     */
    private Integer height;

    /**
     * 标签-有无地下室
     */
    private List<String> label;

    /**
     * 所属那一单元
     */
    private Long unitId;



    /**
     * 备注-房子的信息
     */
    private String detail;


    /**
     * 名称-比如203B,
     */
    private String name;


    private String district;


    private String street;

    private String certNumber;

    private Date rentTime;
}
